﻿<Window x:Class="MvvmCodeReduction.View.MainWindow"
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
        Title="MainWindow"
        Height="300"
        Width="300"
        DataContext="{Binding Main, Source={StaticResource Locator}}">
    
    <Window.Resources>
        <ResourceDictionary>
            <ResourceDictionary.MergedDictionaries>
                <ResourceDictionary Source="..\Skins\MainSkin.xaml" />
            </ResourceDictionary.MergedDictionaries>
        </ResourceDictionary>
    </Window.Resources>

    <StackPanel x:Name="LayoutRoot">

        <Button Content="Show customers"
                Click="ShowCustomers_Click" />
        <Button Content="Show customers MVP"
                Click="ShowCustomersMVP_Click" />
        <Button Content="Show customers MVVM"
                Click="ShowCustomersMVVM_Click" />

    </StackPanel>
</Window>
